home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970929-19971216 / 000263_news@newsmaster….columbia.edu _Fri Nov 14 22:04:20 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA01899
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 14 Nov 1997 22:04:20 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id WAA02021
  7.     for kermit.misc@watsun; Fri, 14 Nov 1997 22:04:19 -0500 (EST)
  8. Path: news.columbia.edu!panix!howland.erols.net!newsfeed.internetmci.com!199.117.161.1!csn!nntp-xfer-1.csn.net!news!clem.mscd.edu!not-for-mail
  9. From: NICE KERRY <nice@mscd.edu>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Help with scripting kermit
  12. Date: 15 Nov 1997 02:11:03 GMT
  13. Organization: Metropolitan State College of Denver    
  14. Lines: 46
  15. Sender: NICE KERRY <nice@clem.mscd.edu>
  16. Message-ID: <64j0bn$7s9$1@clem.mscd.edu>
  17. NNTP-Posting-Host: 147.153.1.3
  18. X-Newsreader: TIN [UNIX 1.3 unoff BETA 970402; alpha OSF1 V4.0]
  19. Xref: news.columbia.edu comp.protocols.kermit.misc:8048
  20.  
  21. Hi,
  22. I am having trouble getting getting kermit scripting to work.  The thing
  23. that I would like to do is have a script run by crontab to dial up 
  24. this account, download some files, and then delete them.  It seems like
  25. I can do this stuff when I am at the keyboard, but it seems to stick 
  26. when it is in a script.  
  27.  
  28. Here is the script that sort of works:
  29.  
  30. set modem hayes
  31. set line /dev/modem
  32. set speed 19200
  33. set parity none
  34. set dial timeout 60
  35. dial XXX-XXXX\13
  36. input 60 CONNECT
  37. pause 1
  38.  
  39. ;connect
  40. output \0
  41. output " "\13
  42. output \13
  43. output 1\13
  44. output nice\13
  45. output XXXXXXX\13
  46.  
  47. output cd mail \13
  48. output ls -l\13
  49. output logout\13
  50. output 20\13
  51.  
  52. It makes it to connecting to the other modem then just sits there.  I 
  53. can hit a key and I can log in like normal.  How do I get its attention.
  54. I have a script that gets past this point in minicom by sending a blank.
  55. I have tried all different combinations of outputs to get past this.
  56.  
  57. I have looked at a whole bunch of sample scripts, but none of them really 
  58. seem to cover this.
  59.  
  60. Once I get in, how do I start a download on both ends?
  61.  
  62. After this is working, I will add in all the error handling stuff in case
  63. the number is busy and stuff like that.
  64.  
  65. Thanks,
  66. Kerry Nice